package god;

public class J12Ch04Ex01Song {
	public static void main(String[] args) {
		Song LetItGo = new Song();
		LetItGo.title = "Let It Go";
		LetItGo.artist = "효린";
		LetItGo.album = "Frozen OST";
		LetItGo.composer[1] = "Various Artist";
		LetItGo.composer[2] = "Various Artist";
		LetItGo.year = "2013";
		LetItGo.track = "5";
		LetItGo.show();
	} // main

} // class

class Song {
	String title, artist, album, year, track;
	String composer[] = new String[3];
	
	public void show() {
		System.out.println( title );
		System.out.println( artist );
		System.out.println( album );
		if ( composer != null) {
			for ( int i = 1; i<composer.length; ++i) {
				System.out.println( composer[i] );
			}
		}
		System.out.println( year );
		System.out.println( track );
	}
}